home *** CD-ROM | disk | FTP | other *** search
/ Softdisk for Windows 42 / Softdisk for Windows 42.iso / QUARRY / QUARRY.EXE / QUARRY.dxr / 00031_CHANGEREDROLL.ls < prev    next >
Encoding:
Text File  |  1998-01-01  |  412 b   |  21 lines

  1. on CHANGEREDROLL
  2.   global REDROLL
  3.   set REDROLL to REDROLL + 1
  4.   if REDROLL >= 5 then
  5.     set REDROLL to 1
  6.   end if
  7.   if REDROLL = 1 then
  8.     set the castNum of sprite 29 to 5
  9.   end if
  10.   if REDROLL = 2 then
  11.     set the castNum of sprite 29 to 6
  12.   end if
  13.   if REDROLL = 3 then
  14.     set the castNum of sprite 29 to 7
  15.   end if
  16.   if REDROLL = 4 then
  17.     set the castNum of sprite 29 to 4
  18.   end if
  19.   updateStage()
  20. end
  21.